// 
//  Copyright (C) 2009 Jacek Trubłajewicz
// 
//  This program is free software; you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation; either version 2 of the License, or
//  (at your option) any later version.
// 
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//  GNU General Public License for more details.
//  
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// 
using System;
using System.Reflection;
using System.Runtime.CompilerServices;

// Information about this assembly is defined by the following attributes. 
// Change them to the values specific to your project.

[assembly: AssemblyTitle("wxGadu")]
[assembly: AssemblyDescription("Instant messanger with support for Gadu-Gadu network")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("(c) 2008-2009 by Jacek Trubłajewicz <gothic@os.pl>")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("2009.7.0.*")]

// The following attributes are used to specify the signing key for the assembly, 
// if desired. See the Mono documentation for more information about signing.

[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]


#region Helper class

// Your generated class does not contain the follwoing part.
public class AssemblyInfo
{
	// Used by Helper Functions to access information from Assembly Attributes
	
	private Type myType;
	public AssemblyInfo()
	{
		myType = typeof(wxGadu.MainFrame);
	}
	public string AsmName
	{
		get {return myType.Assembly.GetName().Name.ToString();}
	}
	
	public string AsmFQName
	{
		get {return myType.Assembly.GetName().FullName.ToString();}
	}
	
	public string CodeBase
	{
		get {return myType.Assembly.CodeBase;}
	}
	
	public string Copyright
	{
		get {
		Type at = typeof(AssemblyCopyrightAttribute);
		object[] r = myType.Assembly.GetCustomAttributes(at, false);
		AssemblyCopyrightAttribute ct = (AssemblyCopyrightAttribute) r[0];
		return ct.Copyright;
		}
	}
	
	public string Company
	{
		get
		{
		Type at = typeof(AssemblyCompanyAttribute);
		object[] r = myType.Assembly.GetCustomAttributes(at, false);
		AssemblyCompanyAttribute ct = (AssemblyCompanyAttribute) r[0];
		return ct.Company;
		}
	}
	
	
	public string Description
	{
		get
		{
		Type at = typeof(AssemblyDescriptionAttribute);
		object[] r = myType.Assembly.GetCustomAttributes(at, false);
		AssemblyDescriptionAttribute da = (AssemblyDescriptionAttribute) r[0];
		return da.Description;
		}
	}
	
	
	public string Product
	{
		get
		{
		Type at = typeof(AssemblyProductAttribute);
		object[] r = myType.Assembly.GetCustomAttributes(at, false);
		AssemblyProductAttribute pt = (AssemblyProductAttribute) r[0];
		return pt.Product;
		}
	}
	
	public string Title
	{
		get
		{
		Type at = typeof(AssemblyTitleAttribute);
		object[] r = myType.Assembly.GetCustomAttributes(at, false);
		AssemblyTitleAttribute ta = (AssemblyTitleAttribute) r[0];
		return ta.Title;
		}
	}
	
	public string Version
	{
		get {return myType.Assembly.GetName().Version.ToString();}
	}
}
#endregion